package com.net.tomcat5.Servlet3;
import java.util.HashMap;
import java.util.Map;

/**
 * 上下文
 *
 * @author jiangbang
 * @date 2016/8/25
 */
public class ServletContext {
    //为每一个servlet取别名
    private Map<String, String> servlet= new HashMap<>();
    private Map<String,String> mapping = new HashMap<>();

    public Map<String, String> getMapping() {
        return mapping;
    }

    public void setMapping(Map<String, String> mapping) {
        this.mapping = mapping;
    }

    public Map<String, String> getServlet() {
        return servlet;
    }

    public void setServlet(Map<String, String> servlet) {
        this.servlet = servlet;
    }
}
